home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / By the Book / Mac C Primer V2 / 6.1 - MyStarter / CStarterPane.h < prev    next >
Text File  |  1990-04-30  |  620b  |  21 lines

  1. #define _H_CStarterPane            /* Include this file only once */
  2. #include <CPanorama.h>
  3.  
  4. #define MAX_PANE_SIZE    200
  5. #define NUM_PATS        4
  6. #define NO_UNDO_STRING    0
  7.  
  8. struct CStarterPane : CPanorama
  9. {
  10.     void        IStarterPane( CView *anEnclosure, CBureaucrat *aSupervisor,
  11.                             short aWidth, short aHeight,
  12.                             short aHEncl, short aVEncl,
  13.                             SizingOption aHSizing, SizingOption aVSizing);
  14.                             
  15.     void        DoClick( Point hitPt, short modifierKeys, long when );
  16.     
  17.     void        AdjustCursor( Point where, RgnHandle mouseRgn );
  18.     
  19.     void        DoDrag( int objWidth, int objHeight,
  20.                             Point hitPt, Rect frame, Rect *endLocation );    /*greg*/
  21. };